namespace Game.Core.Loader
{
	public class SpriteLoaderData
	{
		public int quoteNum;

		public SpriteLoader loader;

		public SpriteLoaderData(SpriteLoader loader, int quoteNum = 1)
		{
			this.quoteNum = quoteNum;
			this.loader = loader;
		}

		public void Dispose()
		{
			if (loader != null)
			{
				loader.Destroy(true);
				loader = null;
			}
		}
	}
}
